{% extends "guild/base.html" %}
{% load mytag %}

{% block content %}

<div class="page__bd">
    <div class="weui-cells">
        <div class="weui-cell weui-cell_access weui-media-box weui-media-box_appmsg">
            <div class="weui-media-box__hd">
                <img class="weui-media-box__thumb avatar" src="http://misc.app.res.mqnetswork.com/guild_logo.png" alt="">
            </div>
            <div class="weui-media-box__bd">
                <h4 class="weui-media-box__title"> {{ guild.name }} </h4>
                <p class="weui-media-box__desc">
                    {{ guild.comment }}
                </p>
            </div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-mobile-alt menu_item_icon"></i> 绑定手机号码 </p> </div>
            <div class="weui-cell__ft">
                {{ guild.mobile|slice:"0:3" }}***{{ guild.mobile|slice:"-3:" }}
            </div>
        </div>
    </div>

    <div class="weui-cells__title"> 成员信息 </div>
    <div class="weui-cells">
        <a class="weui-cell weui-cell_access" href="{% url 'guild:members' %}">
            <div class="weui-cell__bd"> <p> <i class="fa fa-users menu_item_icon"></i> 成员列表 </p> </div>
            <div class="weui-cell__ft"> {{ total_members_count }} 人</div>
        </a>
    </div>

    <div class="weui-cells__title"> 统计数据 </div>
    <div class="weui-cells">
        <a class="weui-cell weui-cell_access" href="{% url 'guild:daily_stat' %}">
            <div class="weui-cell__bd"> <p> <i class="fa fa-calendar-minus menu_item_icon"></i> 每日统计 </p> </div>
            <div class="weui-cell__ft"> </div>
        </a>
        <a class="weui-cell weui-cell_access" href="{% url 'guild:weekly_stat' %}">
            <div class="weui-cell__bd"> <p> <i class="fa fa-calendar-alt menu_item_icon"></i> 每周统计 </p> </div>
            <div class="weui-cell__ft"> </div>
        </a>
        <a class="weui-cell weui-cell_access" href="{% url 'guild:monthly_stat' %}">
            <div class="weui-cell__bd"> <p> <i class="fa fa-calendar menu_item_icon"></i> 每月统计 </p> </div>
            <div class="weui-cell__ft"> </div>
        </a>
    </div>


    <div class="weui-cells">
        <a class="weui-cell weui-cell_access" href="{% url 'guild:logout' %}">
            <div class="weui-cell__bd"> <p> <i class="fa fa-sign-out-alt menu_item_icon"></i> 退出登录 </p> </div>
            <div class="weui-cell__ft"> </div>
        </a>
    </div>
</div>

<div class="page__ft">
    <a href="{% url 'guild:home' %}">
        <span class="bottom-logo">
           HiBao
       </span>
    </a>
</div>

{% endblock content %}


<!-- SCRIPT
  =====================================================================-->

{% block extra_js %}
{% endblock extra_js %}
